
package com.submaxim_testdb.data;

import java.io.Serializable;


/**
 *  submaxim_testDB.BounceCountId
 *  11/10/2011 17:39:29
 * 
 */
public class BounceCountId
    implements Serializable
{

    private String recipient;
    private Boolean count;
    private Boolean global;

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof BounceCountId)) {
            return false;
        }
        BounceCountId other = ((BounceCountId) o);
        if (this.recipient == null) {
            if (other.recipient!= null) {
                return false;
            }
        } else {
            if (!this.recipient.equals(other.recipient)) {
                return false;
            }
        }
        if (this.count == null) {
            if (other.count!= null) {
                return false;
            }
        } else {
            if (!this.count.equals(other.count)) {
                return false;
            }
        }
        if (this.global == null) {
            if (other.global!= null) {
                return false;
            }
        } else {
            if (!this.global.equals(other.global)) {
                return false;
            }
        }
        return true;
    }

    public int hashCode() {
        int rtn = 17;
        rtn = (rtn* 37);
        if (this.recipient!= null) {
            rtn = (rtn + this.recipient.hashCode());
        }
        rtn = (rtn* 37);
        if (this.count!= null) {
            rtn = (rtn + this.count.hashCode());
        }
        rtn = (rtn* 37);
        if (this.global!= null) {
            rtn = (rtn + this.global.hashCode());
        }
        return rtn;
    }

    public String getRecipient() {
        return recipient;
    }

    public void setRecipient(String recipient) {
        this.recipient = recipient;
    }

    public Boolean getCount() {
        return count;
    }

    public void setCount(Boolean count) {
        this.count = count;
    }

    public Boolean getGlobal() {
        return global;
    }

    public void setGlobal(Boolean global) {
        this.global = global;
    }

}
